package com.lekang.le.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 订单VO对象（用于小程序展示）
 * 
 * @author lekang
 * @date 2025-10-25
 */
public class OrderVO
{
    /** 订单ID */
    private Long id;
    
    /** 订单编号 */
    private String orderNo;
    
    /** 服务名称（护理项目名称） */
    private String serviceName;
    
    /** 服务家人（老人姓名） */
    private String elderlyName;
    
    /** 服务时间 */
    @JsonFormat(pattern = "yyyy.MM.dd HH:mm")
    private Date serviceTime;
    
    /** 订单金额 */
    private BigDecimal price;
    
    /** 价格标签（应付款/实付款） */
    private String priceLabel;
    
    /** 订单状态文字 */
    private String status;
    
    /** 订单状态数字 */
    private String orderStatus;
    
    /** 交易状态数字 */
    private String transactionStatus;
    
    /** 订单状态样式类 */
    private String statusClass;
    
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy.MM.dd HH:mm:ss")
    private Date createTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy.MM.dd HH:mm:ss")
    private Date updateTime;

    /** 备注 */
    private String remark;

    /** 取消/退款原因 */
    private String cancelReason;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getElderlyName() {
        return elderlyName;
    }

    public void setElderlyName(String elderlyName) {
        this.elderlyName = elderlyName;
    }

    public Date getServiceTime() {
        return serviceTime;
    }

    public void setServiceTime(Date serviceTime) {
        this.serviceTime = serviceTime;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getPriceLabel() {
        return priceLabel;
    }

    public void setPriceLabel(String priceLabel) {
        this.priceLabel = priceLabel;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getTransactionStatus() {
        return transactionStatus;
    }

    public void setTransactionStatus(String transactionStatus) {
        this.transactionStatus = transactionStatus;
    }

    public String getStatusClass() {
        return statusClass;
    }

    public void setStatusClass(String statusClass) {
        this.statusClass = statusClass;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCancelReason() {
        return cancelReason;
    }

    public void setCancelReason(String cancelReason) {
        this.cancelReason = cancelReason;
    }
}

